
import { Route } from "react-router";
import AppList from "../components/list";
import { TaskList } from '../components/task';
import TaskMonitor from '../components/monitor';
import ExcelTemplate from "../components/excel-template";
import PathTemplate from "../components/path-template";
import Home from '../components/Home';
import { WeaLocaleProvider } from 'ecCom';
const getLocaleLabel = WeaLocaleProvider.getLocaleLabel.bind(this, 'edc');

export default (
    <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@1u8eka`} path="edc" onEnter={getLocaleLabel} component={Home}>
        <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@qmpext`} path='app' component={AppList} />
        <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@l7kc58`} path='task' component={TaskList} />
        <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@v9kphp`} path='taskMonitor' component={TaskMonitor} />
        <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@qf2cb1`} path='exceltemplate' component={ExcelTemplate} />
        <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@j0sn5i`} path='pathtemplate' component={PathTemplate} />
    </Route>
);